package com.example.front.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CraftDto {
    private Long id;

    @NotBlank(message = "工艺名称不能为空")
    private String name;

    @NotNull(message = "产线id不能为空")
    private Long lineId;


    private String lineName;

    private String boxName;

    private Long boxId;

}
